#ifndef __DS1302_H__
#define __DS1302_H__

extern unsigned char DS1302_Time[9];//年月日时分秒星期
	//外部变量必须加extern，外部数组或函数可以不加extern
	
void DS1302_Init();
void DS1302_WriteByte(unsigned char Command,Data);
unsigned char DS1302_ReadByte(unsigned char Command);

void DS1302_SetTime(void);
void DS1302_ReadTime(void);


#endif